
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/template/common/taglibs.jspf" %>
<es:contentHeader/>
<title>修改用户密码</title>
<t:base type="cloudAdmin,fontAwesome,jquery,bootstrap,jqueryUI,animate,uniform,select2,datePicker,common,layer,jqueryValidate"></t:base>

<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resources/css/tdjkc.css" />
<body>
<div id="div">
    <table class="table table-bordered" id="table">
        <tr style="background-color: darkgrey; font-size: 12px">
            <td colspan="4" style="color: wheat;" >用户基本信息</td>
        </tr>
        <tr>
            <td>用户名</td>
            <td colspan="2">${user.username}</td>
            <td rowspan="3" width="10%"><img width="135px" height="128px" src="${user.icon}"/></td>
        </tr>
        <tr>
            <td>员工工号</td>
            <td colspan="2">${user.employeeId}</td>
        </tr>
        <tr>
            <td>联系方式</td>
            <td colspan="2">${user.mobilePhoneNumber}</td>
        </tr>
        <tr>
            <td>邮箱</td>
            <td colspan="3">${user.email}</td>
        </tr>
        <tr>
            <td>创建时间</td>
            <td colspan="3"><fmt:formatDate value="${user.createDate}" pattern='yyyy年MM月dd日'/></td>
        </tr>
        <tr>
            <td>是否是管理员</td>
            <td colspan="3">
                <c:choose>
                     <c:when test="${user.admin}">
                        是
                     </c:when>
                    <c:otherwise>
                        否
                    </c:otherwise>
                </c:choose>
                </td>
        </tr>
        <tr>
            <th style="width: 20%;">组织机构</th>
            <th colspan="3">工作职务</th>
        </tr>
        <c:forEach items="${displayOrganizationJobs}" var="o">
            <tr>
                <td style="font-size: 12px">
                    <span id="ss"><sys:showOrganizationName id="${o.organizationId}"/></span>
                </td>
                <td colspan="3">
                    <sys:showJobName id="${o.jobId}"/><br/>
                </td>
            </tr>
        </c:forEach>
    </table>
</div>
<script type="text/javascript">
    $().ready(function () {
        $('#table').attr("disabled","disabled");
    })
</script>
